<{include file="db:`$mydirname`_mobile_header.html"}>


<div style="margin:16px 0;"><{$lang_thereare}></div>


<{if $links|@count > 0}>

  <{if $links|@count > 1}>
  <div style="border:1px outset #CEf; background:#CEf;margin:16px 0; padding:3px;">
    <{$order_html}> (<{$lang_cursortedby}>)
  </div>
  <{/if}>


  <{if $navinfo}>
    <{$navinfo}>
  <{/if}>

  <{* <!-- Start new link loop --> *}>
  <{foreach item=link from=$links key=count name=i}>

    <hr />

    <a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=item p_key1=lid p_val1=$link.lid}>">
      <b><{$link.title}></b>
    </a>

    <{if $link.new == 1}>&nbsp;<img src="<{$myurl}>/images/new.gif" /><{/if}>
    <{if $link.new == 2}>&nbsp;<img src="<{$myurl}>/images/new.gif" /><{/if}>
    <{if $link.pop}>&nbsp;<img src="<{$myurl}>/images/pop.gif" /><{/if}>
    <br />

    &nbsp;<{$smarty.const._MD_CATEGORY}> : 
    <{foreach item=cid from=$link.cid name=i}>
      <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=category p_key1=cid p_val1=$cid}>"><{$allcid[$cid]}></a>
      <{if !$smarty.foreach.i.last}>, <{/if}>
    <{/foreach}>

    <br />
    <{if $link.submitter gt 0 }>
      &nbsp;<a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=user p_key1=uid p_val1=$link.submitter}>"><{$link.submitterName}></a>
    <{else}>
      &nbsp;<{$link.submitterName}>
    <{/if}>

    <br />
    &nbsp;<{$link.date|formatTimestamp:"m"}>

  <{/foreach}>
  <{* <!-- End new link loop --> *}>

  <hr />


  <{if $nav}>
    <{$nav}>
  <{/if}>

<{/if}>


<{include file="db:`$mydirname`_mobile_footer.html"}>
